<template>
  <div>
    <navBar />
    <div class="control_bar">
      <div class="read_btn">
        标为已读
      </div>
    </div>
    <div class="content_wrap">
      <div class="content_item gl_clear">
        <div class="round gl_fl">
          <i class="iconfont icon_qiandao" />
        </div>
        <div class="gl_fl">
          <div class="text_title">签到提醒</div>
          <div class="text_subtitle">签到成功签到成功签到成功签到成功签到成功签到成功签到成功签到成功签到成功签到成功签到成功</div>
        </div>
        <div class="msg_time">2021.11.03</div>
      </div>
    </div>
  </div>
</template>

<script>
import navBar from './components/navbar.vue';
export default {
  components: {
    navBar
  },
  data () {
    return {
    };
  }
};
</script>

<style lang="scss" scoped>
.control_bar {
  width: 100%;
  box-sizing: border-box;
  padding: 0 0.4rem;
  text-align: right;
  height: 0.96rem;
  background-color: #f5f6f7;
}
.read_btn {
  display: inline-block;
  margin-top: 0.3rem;
  width: 1.19rem;
  height: 0.36rem;
  font-size: 0.22rem;
  line-height: 0.36rem;
  border-radius: 0.34rem;
  vertical-align: top;
  text-align: center;
  background-color: #fff;
}
.read_btn.disable {
  color: #9c9c9c;
  background-color: #e8e8e8;
}

.content_wrap {
  width: 100%;
  padding: 0.3rem 0.2rem;
}
.content_item {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  padding: 0.2rem 0.2rem 0;
  margin-bottom: 0.2rem;
  height: 1.29rem;
  background-color: #fff;
  border-radius: 0.16rem;
  box-shadow: 0 0.06rem 0.32rem rgba(0, 0, 0, 0.06);;
}
.round {
  width: 0.9rem;
  height: 0.9rem;
  margin-right: 0.2rem;
  text-align: center;
  line-height: 0.9rem;
  border-radius: 50%;
  border: 1px solid #dcdcdc;
}
.iconfont {
  font-size: 0.42rem;
  vertical-align: top;
  color: #8c8c8c;
}
.text_title {
  margin-bottom: 0.1rem;
  line-height: 0.45rem;
  font-size: 0.32rem;
  color: #000;
}
.text_subtitle {
  font-size: 0.24rem;
  line-height: 0.34rem;
  color: #828282;
  max-width: 5.5rem;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}
.msg_time {
  position: absolute;
  right: 0.5rem;
  top: 0.29rem;
  font-size: 0.2rem;
  line-height: 0.28rem;
  color: #828282;
}
</style>
